export default class SensorVo {
    public bottomValue = "";
    public currentValue = "";
    public id = "";
    public sensorName = "";
    public topValue = "";
    public type = "";

    public constructor(obj:any){
        if(obj)
        {
           for (const key in obj) {
            if (Object.prototype.hasOwnProperty.call(obj, key)) {
                const element = obj[key];
                this[key] = element;
            }
           } 
        }
    }

}